﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace jindong
{
    public class Address
    {
        /// <summary>
        /// 地址ID
        /// </summary>
        [Key]
        [Column]
        public Guid address_id { get; set; }

        /// <summary>
        /// ⽤户ID
        /// </summary>
        public Guid user_id { get; set; }

        /// <summary>
        /// 收货⼈姓名
        /// </summary>
        public string? receiver { get; set; }

        /// <summary>
        /// 省份
        /// </summary>
        public string? province { get; set; }

        /// <summary>
        /// 城市
        /// </summary>
        public string? city { get; set; }

        /// <summary>
        /// 是否默认地址
        /// </summary>
        public bool is_default { get; set; }
    }
}
